Spread Windows Forms 17
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / ArrayHelper Class / Clone Method / Clone<T1,T2>(T1[]) Method
The type of element in source array.
The type of element in destination array.
The array source to clone.


In This Topic
    Clone<T1,T2>(T1[]) Method
    In This Topic
    Clones the specified array to a new array.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Clone
        (Of T1,T2 As t1)( _
       ByVal source() As t1 _
    ) As t2()
    'Usage
     
    
    Dim source() As t1
    Dim value() As t2
     
    value = ArrayHelper.Clone(Of T1, T2)(source)
    public static t2[] Clone<T1,T2>( 
       t1[] source
    )
    where T2: t1

    Parameters

    source
    The array source to clone.

    Type Parameters

    T1
    The type of element in source array.
    T2
    The type of element in destination array.
    See Also